package com.gzx.plugin.website.configs.service;

import com.gzx.plugin.website.configs.bo.GzxWebsiteConfigAddOrEditBo;
import com.gzx.plugin.website.configs.bo.GzxWebsiteConfigQueryBo;
import com.gzx.plugin.website.configs.entity.GzxWebsiteConfig;
import com.gzx.plugin.website.configs.vo.GzxWebsiteConfigOutVo;
import com.gzx.plugin.website.configs.vo.GzxWebsiteConfigVo;
import vip.xiaonuo.common.mvc.service.BaseService;

import java.util.List;
import java.util.Map;

/**
 * @author zjt
 * @description
 * @date 2025/4/23 11:07
 */
public interface GzxWebsiteConfigService extends BaseService<GzxWebsiteConfigAddOrEditBo, GzxWebsiteConfigVo, GzxWebsiteConfigQueryBo> {

    /**
     * 获取公司官网配置
     *
     * @param companyCode
     * @return
     */
    GzxWebsiteConfigOutVo getConfigByHost(String companyCode);

    /**
     * 根据Host获取配置
     *
     * @param host
     * @return
     */
    GzxWebsiteConfig getConfigIdByHost(String host);

    /**
     * 获取所有的调解中心
     *
     * @return
     */
    List<GzxWebsiteConfigVo> listAll();

    /**
     * 获取公司字典映射
     *
     * @return
     */
    Map<String, String> getCompanyDict();
}
